import React from 'react';
import {BrowserRouter as Router, Route, Switch} from 'react-router-dom'
import Main from './components/main/index'
import { Provider } from 'react-redux';
import store from './store'
import Live from './page/live/index'

function App() {
  return (
    <Provider store={store}>
      <Router>
        <Switch>
          <Route exact path="/live" component={ Live }/>
          <Main paht="/" />
        </Switch>
      </Router>
    </Provider>
  );
}

export default App;
